package cn.tedu.tmall.passport.dao.persist.repository.impl;

import cn.tedu.tmall.passport.dao.persist.mapper.UserMapper;
import cn.tedu.tmall.passport.dao.persist.repository.IUserRepository;
import cn.tedu.tmall.passport.pojo.vo.UserLoginInfoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

@Repository
public class UserRepositoryImpl implements IUserRepository {
    @Autowired
    private UserMapper mapper;
    @Override
    public UserLoginInfoVo getLoginInfoByUsername(String username) {
        return mapper.getLoginInfoByUsername(username);
    }
}
